package com.ruoyi.project.system.info.mapper;

import com.ruoyi.project.system.function.domain.DetailDB;
import com.ruoyi.project.system.function.domain.OverviewDB;
import com.ruoyi.project.system.info.domain.BaseFamilyInfoManagement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 * 
 * @author ruoyi
 * @date 2023-02-17
 */
@Mapper
public interface BaseFamilyInfoManagementMapper
{



    Integer selectNum(String fid);
    Integer selectDetailDBID(int dataID,int first,int second,int third);

    void dataEntry(List<DetailDB> list);


    BaseFamilyInfoManagement selectBaseFamilyInfo(@Param("id") Integer id);


    /**
     * 查询【请填写功能名称】
     * 
     * @param fid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    public BaseFamilyInfoManagement selectBaseFamilyInfoById(String fid);

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param baseFamilyInfo 【请填写功能名称】
     * @return 【请填写功能名称】集合
     */
    public List<BaseFamilyInfoManagement> selectBaseFamilyInfoList(BaseFamilyInfoManagement baseFamilyInfo);

    /**
     * 新增【请填写功能名称】
     * 
     * @param baseFamilyInfo 【请填写功能名称】
     * @return 结果
     */
    public int insertBaseFamilyInfo(BaseFamilyInfoManagement baseFamilyInfo);

    /**
     * 修改【请填写功能名称】
     * 
     * @param baseFamilyInfo 【请填写功能名称】
     * @return 结果
     */
    public int updateBaseFamilyInfo(BaseFamilyInfoManagement baseFamilyInfo);

    /**
     * 删除【请填写功能名称】
     * 
     * @param fid 【请填写功能名称】ID
     * @return 结果
     */
    public int deleteBaseFamilyInfoById(String fid);

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param fids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBaseFamilyInfoByIds(String[] fids);
}
